import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useLocationStore = defineStore('location', () => {
  const currentLocation = ref({})

  const setCurrentLocation = (val) => {
    currentLocation.value = val
  }

  return {
    currentLocation,
    setCurrentLocation
  }
})
